//
//  YKMultiSelectDropdownView.h
//  YunKang
//
//  Created by leoking870 on 2017/9/29.
//  Copyright © 2017年 leoking870. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YKDropdown.h"
@interface YKMultiSelectDropdownView : UIView
@property (nonatomic, copy)void(^selectHandler)(NSArray<YKDropdown> *values);
@property (nonatomic, strong) NSArray<NSArray<NSString *> *> *data;
@property (nonatomic, strong) NSArray<YKDropdown> *modelData;
@property (nonatomic, strong) NSArray<YKDropdown> *selectedModels;
@property (nonatomic, strong) NSArray<NSString *> *selectedCodes;
@property (nonatomic, assign)BOOL enabled;
@property (nonatomic, strong) UIColor *disableBackgroundColor;
@property (nonatomic, assign) CGFloat contentTopInset;
- (instancetype)initWithTitle:(NSString*)title rows:(NSArray<NSArray<NSString *> *> *)data;
- (instancetype)initWithTitle:(NSString*)title rows:(NSArray<NSArray<NSString *> *> *)data sameLine:(BOOL)sameLine;
- (instancetype)initWithTitle:(NSString *)title
                    modelData:(NSArray<YKDropdown> *)modelData
                     sameLine:(BOOL)sameLine;

- (NSArray<YKDropdown> *)selectedModels ;
@end
